package com.weixing.mall.pay.channel.ali;

/**
 * @ClassName WxTradeTypeEnum
 * @Description 支付宝交易状态
 * @Author Small
 * @Date 2019/11/29 15:53
 * @Version 1.0
 **/
public enum TradeStateEnum {
    TRADE_SUCCESS("TRADE_SUCCESS", "交易支付成功"),
    WAIT_BUYER_PAY("WAIT_BUYER_PAY", "交易创建，等待买家付款"),
    TRADE_CLOSED("TRADE_CLOSED", "未付款交易超时关闭，或支付完成后全额退款"),
    TRADE_FINISHED("TRADE_FINISHED", "交易结束，不可退款"),;
    private String status;
    private String statusDesp;

    TradeStateEnum(String status, String statusDesp) {
        this.status = status;
        this.statusDesp = statusDesp;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatusDesp() {
        return statusDesp;
    }

    public void setStatusDesp(String statusDesp) {
        this.statusDesp = statusDesp;
    }
}
